﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustomError.aspx.cs" Inherits="CustomError" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html style="height: 100%">
<head runat="server">
    <title></title>

    <script type="text/javascript">

	if (top != self) {
      		top.location = location
        }
    </script>

</head>
<body class="commonBody">
    <form id="form1" runat="server">
    <table width="100%" style="height: 100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td valign="middle" align="center">
                <table width="620" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="1" class="commonPageBorderTD">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table width="620" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="1" class="commonPageBorderTD">
                                    </td>
                                    <td width="618">
                                        <table width="618" bgcolor="#f1f1f1" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td class="commonPageHeader">
                                                
                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Global, lblUnexpectedError %>"></asp:Literal>   
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td>
                                                                <table style="height: 180" width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                        <td width="20%" align="center" valign="middle">
                                                                            <img src='<%=ResolveUrl(String.Format("~/Css/Images/Master/customerror.jpg", Page.Theme))%>'
                                                                                width="180" height="157">
                                                                        </td>
                                                                        <td width="80%" class="CustomErrbg">
                                                                            <table width="100%" border="0" cellspacing="2" cellpadding="2">
                                                                                <tr align="center">
                                                                                    <td width="100%">
                                                                                        <div>
                                                                                            <asp:Label ID="lblUnexpected" runat="server" Style="padding-right: 0px;" Text="<%$ Resources:Global, lblAnunexpected %>"></asp:Label>
                                                                                            <asp:Label ID="lblErrorMsg" runat="server" Style="padding-right: 0px;" Text="<%$ Resources:Global, lblError %>"></asp:Label>
                                                                                            <asp:Label ID="lblOccurred" runat="server" Style="padding-right: 0px;" Text="<%$ Resources:Global, lbloccurred %>"></asp:Label>
                                                                                            <br />
                                                                                            <asp:Label ID="lblYouCan" runat="server" Style="padding-right: 0px;" Text="<%$ Resources:Global, lblYoucan %>"></asp:Label>
                                                                                            <asp:LinkButton ID="lbtnHome" runat="server" EnableTheming="false" Text="<%$ Resources:Global, lblClickHere1 %>"
                                                                                                OnClick="lbtnHome_Click"></asp:LinkButton>
                                                                                            <asp:Label ID="Label3" runat="server" Text="<%$ Resources:Global, lbltogobacktothehomepage %>"></asp:Label>
                                                                                            <br />
                                                                                            <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Global, lblThankyouforyourpatience %>"></asp:Label>
                                                                                            <br />
                                                                                            <br />
                                                                                        </div>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                   
                                </tr>
                            </table>
                        </td>
                    </tr>
                   
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
